Optimal. Leaf size=336 \[ -\frac{A-\frac{a \left (a^2 D-a b C+b^2 B\right )}{b^3}}{(a+b x) (c+d x)^{3/2} (b c-a d)}-\frac{-a^3 d^3 D+a^2 b C d^3+a b^2 d \left (-3 B d^2-6 c^2 D+4 c C d\right )+b^3 \left (-\left (-5 A d^3+2 B c d^2-2 c^3 D\right )\right )}{b^2 d^2 \sqrt{c+d x} (b c-a d)^3}+\frac{3 a^3 d^3 D-3 a^2 b C d^3+3 a b^2 B d^3+b^3 \left (-\left (5 A d^3-2 B c d^2-2 c^3 D+2 c^2 C d\right )\right )}{3 b^3 d^2 (c+d x)^{3/2} (b c-a d)^2}-\frac{\tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x}}{\sqrt{b c-a d}}\right ) \left (a^3 (-d) D-a^2 b (C d-6 c D)-a b^2 (4 c C-3 B d)+b^3 (2 B c-5 A d)\right )}{b^{3/2} (b c-a d)^{7/2}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 1.72581, antiderivative size = 336, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 32, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125 \[ -\frac{A-\frac{a \left (a^2 D-a b C+b^2 B\right )}{b^3}}{(a+b x) (c+d x)^{3/2} (b c-a d)}-\frac{-a^3 d^3 D+a^2 b C d^3+a b^2 d \left (-3 B d^2-6 c^2 D+4 c C d\right )+b^3 \left (-\left (-5 A d^3+2 B c d^2-2 c^3 D\right )\right )}{b^2 d^2 \sqrt{c+d x} (b c-a d)^3}+\frac{3 a^3 d^3 D-3 a^2 b C d^3+3 a b^2 B d^3+b^3 \left (-\left (5 A d^3-2 B c d^2-2 c^3 D+2 c^2 C d\right )\right )}{3 b^3 d^2 (c+d x)^{3/2} (b c-a d)^2}-\frac{\tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x}}{\sqrt{b c-a d}}\right ) \left (a^3 (-d) D-a^2 b (C d-6 c D)-a b^2 (4 c C-3 B d)+b^3 (2 B c-5 A d)\right )}{b^{3/2} (b c-a d)^{7/2}} \]
Antiderivative was successfully verified.
[In] Int[(A + B*x + C*x^2 + D*x^3)/((a + b*x)^2*(c + d*x)^(5/2)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 173.146, size = 410, normalized size = 1.22 \[ - \frac{2 D}{b^{2} d^{2} \sqrt{c + d x}} + \frac{5 d \left (A b^{3} - B a b^{2} + C a^{2} b - D a^{3}\right )}{b^{2} \sqrt{c + d x} \left (a d - b c\right )^{3}} + \frac{2 \left (B b^{2} - 2 C a b + 3 D a^{2}\right )}{b^{2} \sqrt{c + d x} \left (a d - b c\right )^{2}} - \frac{5 d \left (A b^{3} - B a b^{2} + C a^{2} b - D a^{3}\right )}{3 b^{3} \left (c + d x\right )^{\frac{3}{2}} \left (a d - b c\right )^{2}} - \frac{2 \left (B b^{2} - 2 C a b + 3 D a^{2}\right )}{3 b^{3} \left (c + d x\right )^{\frac{3}{2}} \left (a d - b c\right )} + \frac{A b^{3} - B a b^{2} + C a^{2} b - D a^{3}}{b^{3} \left (a + b x\right ) \left (c + d x\right )^{\frac{3}{2}} \left (a d - b c\right )} - \frac{2 \left (C b d - 2 D a d - D b c\right )}{3 b^{3} d^{2} \left (c + d x\right )^{\frac{3}{2}}} + \frac{5 d \left (A b^{3} - B a b^{2} + C a^{2} b - D a^{3}\right ) \operatorname{atan}{\left (\frac{\sqrt{b} \sqrt{c + d x}}{\sqrt{a d - b c}} \right )}}{b^{\frac{3}{2}} \left (a d - b c\right )^{\frac{7}{2}}} + \frac{2 \left (B b^{2} - 2 C a b + 3 D a^{2}\right ) \operatorname{atan}{\left (\frac{\sqrt{b} \sqrt{c + d x}}{\sqrt{a d - b c}} \right )}}{b^{\frac{3}{2}} \left (a d - b c\right )^{\frac{5}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((D*x**3+C*x**2+B*x+A)/(b*x+a)**2/(d*x+c)**(5/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 1.45345, size = 268, normalized size = 0.8 \[ \sqrt{c+d x} \left (\frac{a \left (a^2 D-a b C+b^2 B\right )-A b^3}{b (a+b x) (b c-a d)^3}+\frac{2 \left (-A d^3+B c d^2+c^3 D-c^2 C d\right )}{3 d^2 (c+d x)^2 (b c-a d)^2}+\frac{b \left (4 A d^3-2 B c d^2+2 c^3 D\right )-2 a d \left (B d^2+3 c^2 D-2 c C d\right )}{d^2 (c+d x) (a d-b c)^3}\right )-\frac{\tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{c+d x}}{\sqrt{b c-a d}}\right ) \left (a^3 (-d) D+a^2 b (6 c D-C d)+a b^2 (3 B d-4 c C)+b^3 (2 B c-5 A d)\right )}{b^{3/2} (b c-a d)^{7/2}} \]
Antiderivative was successfully verified.
[In] Integrate[(A + B*x + C*x^2 + D*x^3)/((a + b*x)^2*(c + d*x)^(5/2)),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.038, size = 730, normalized size = 2.2 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((D*x^3+C*x^2+B*x+A)/(b*x+a)^2/(d*x+c)^(5/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((D*x^3 + C*x^2 + B*x + A)/((b*x + a)^2*(d*x + c)^(5/2)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.253691, size = 1, normalized size = 0. \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((D*x^3 + C*x^2 + B*x + A)/((b*x + a)^2*(d*x + c)^(5/2)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((D*x**3+C*x**2+B*x+A)/(b*x+a)**2/(d*x+c)**(5/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.230075, size = 593, normalized size = 1.76 \[ \frac{{\left (6 \, D a^{2} b c - 4 \, C a b^{2} c + 2 \, B b^{3} c - D a^{3} d - C a^{2} b d + 3 \, B a b^{2} d - 5 \, A b^{3} d\right )} \arctan \left (\frac{\sqrt{d x + c} b}{\sqrt{-b^{2} c + a b d}}\right )}{{\left (b^{4} c^{3} - 3 \, a b^{3} c^{2} d + 3 \, a^{2} b^{2} c d^{2} - a^{3} b d^{3}\right )} \sqrt{-b^{2} c + a b d}} + \frac{\sqrt{d x + c} D a^{3} d - \sqrt{d x + c} C a^{2} b d + \sqrt{d x + c} B a b^{2} d - \sqrt{d x + c} A b^{3} d}{{\left (b^{4} c^{3} - 3 \, a b^{3} c^{2} d + 3 \, a^{2} b^{2} c d^{2} - a^{3} b d^{3}\right )}{\left ({\left (d x + c\right )} b - b c + a d\right )}} - \frac{2 \,{\left (3 \,{\left (d x + c\right )} D b c^{3} - D b c^{4} - 9 \,{\left (d x + c\right )} D a c^{2} d + D a c^{3} d + C b c^{3} d + 6 \,{\left (d x + c\right )} C a c d^{2} - 3 \,{\left (d x + c\right )} B b c d^{2} - C a c^{2} d^{2} - B b c^{2} d^{2} - 3 \,{\left (d x + c\right )} B a d^{3} + 6 \,{\left (d x + c\right )} A b d^{3} + B a c d^{3} + A b c d^{3} - A a d^{4}\right )}}{3 \,{\left (b^{3} c^{3} d^{2} - 3 \, a b^{2} c^{2} d^{3} + 3 \, a^{2} b c d^{4} - a^{3} d^{5}\right )}{\left (d x + c\right )}^{\frac{3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((D*x^3 + C*x^2 + B*x + A)/((b*x + a)^2*(d*x + c)^(5/2)),x, algorithm="giac")
[Out]